import { ref, computed } from 'vue'
import { defineStore } from 'pinia'

export const useNetworkStore = defineStore('network', () => {
  const networkList = ref([]);
  const chain = ref({}); // 当前network
  const isConnected = ref(false);
  const walletAccount = ref({}) // 钱包信息

  return { networkList, chain, isConnected, walletAccount }
})
